<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>module</title>
</head>
<body>

</body>
<script type="text/javascript">
var old = {a: 1, b: 2};
var my = {},
key;

for (key in old) {
	if (old.hasOwnProperty(key)) {
	    my[key] = old[key];
	}
}
alert(my.a);
old.a = 11;
alert(my.a);

</script>
</html>